package com.ruoyi.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ams.domain.AmsAssetRepairRecord;

import java.util.List;

/**
 * 维修信息登记Service接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */
public interface IAmsAssetRepairRecordService  extends IService<AmsAssetRepairRecord>
{
    /**
     * 查询维修信息登记
     * 
     * @param repairRecordId 维修信息登记主键
     * @return 维修信息登记
     */
    public AmsAssetRepairRecord selectAmsAssetRepairRecordByRepairRecordId(Long repairRecordId);

    /**
     * 查询维修信息登记列表
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 维修信息登记集合
     */
    public List<AmsAssetRepairRecord> selectAmsAssetRepairRecordList(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 新增维修信息登记
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 结果
     */
    public int insertAmsAssetRepairRecord(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 修改维修信息登记
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 结果
     */
    public int updateAmsAssetRepairRecord(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 批量删除维修信息登记
     * 
     * @param repairRecordIds 需要删除的维修信息登记主键集合
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordByRepairRecordIds(Long[] repairRecordIds);

    /**
     * 删除维修信息登记信息
     * 
     * @param repairRecordId 维修信息登记主键
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordByRepairRecordId(Long repairRecordId);
}
